

<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="searchform.codex" placeholder="订单编号11"> 
        </div>
        <div class="col-sm-2 col-sm-offset-2 pull-right">
            <button class="btn btn-block btn-info">搜索</button> 
        </div>
    </div>


</div>
</div>
</div>
<!-- searchArea -->
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered" style="display: table; width: 100%;table-layout:fixed;">
            <thead>
                <tr>
                    <th class="col-md-1 text-center">订单号</th>
                    <th class="col-md-2 text-center">货品名称</th>
                    <th class="col-md-1 text-center">货品重量</th>
                    <th class="col-md-1 text-center">发布时间</th>
                    <!--<th class="col-md-1 text-center">运费</th>-->
                    <th class="col-md-1 text-center">订单状态</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center"><div class="ellipsis" style="text-align:center;max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;" title="{{obj.order_code}}">{{obj.order_code}}</div></td>
                    <td class="text-center">{{obj.goods_name}}</td>
                    <td class="text-center">{{obj.goods_weight}}</td>
                    <td class="text-center">{{obj.create_time}}</td>
                    <!--<td class="text-center">{{obj.transportation_expenses}}</td>-->
                    <td class="text-center">{{obj.order_state}}</td>                   
                    <td class="text-center">
                        <a ng-click="modify($index)" class="btn btn-primary btn-xs">修改</a>
                        <a ng-click="toinfo($index)" class="btn btn-info btn-xs">详情</a>
                        <a ng-click="up($index)" class="btn btn-success btn-xs" ng-show="obj.order_state=='0'">上线</a>
                        <a ng-click="down($index)" class="btn btn-danger btn-xs"  ng-show="obj.order_state=='1'">下线</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="totalItems" ng-model="currentPage" ng-change="pageChanged()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>